/**
* @describe 工具类
* @author 游金宇(KM)
* @date 2023-08-02 20:16:42
*/


import * as ArrayUtils from './ArrayUtils'
import * as BlobUtils from './BlobUtils'
import * as CosUtils from './CosUtils'
import * as StringUtil from './StringUtil'
import * as TimeUtils from './TimeUtils'
import * as NodeUtils from './NodeUtils'
import * as Commontils from './Commontils'
import { cat, Manager, CoreUtil } from '@shimotsuki/core'




// 扩展 Manager 接口，添加 Util 属性
declare module '@shimotsuki/core' {
    interface CoreUtil {
        arrayUtils: typeof ArrayUtils
        blobUtils: typeof BlobUtils
        cosUtils: typeof CosUtils
        stringUtil: typeof StringUtil
        timeUtils: typeof TimeUtils
        nodeUtils: typeof NodeUtils
        commontils: typeof Commontils
    }
}


export class Util extends CoreUtil {
    override arrayUtils = ArrayUtils
    override blobUtils = BlobUtils
    override cosUtils = CosUtils
    override stringUtil = StringUtil
    override timeUtils = TimeUtils
    override nodeUtils = NodeUtils
    override commontils = Commontils
}







